@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>FX管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="customer" name="客户名称" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="entryDate" name="输入时间" isTime="false" pattern="YYYY-MM-DD"/>
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="tradeDate" name="交易时间" isTime="false" pattern="YYYY-MM-DD"/>
                            </div>
                            <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="ProductFx.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="ProductFxTableToolbar" role="group">
                            @if(shiro.hasPermission("/productFx/add")){
                                <#button name="添加" icon="fa-plus" clickFun="ProductFx.openAddProductFx()"/>
                            @}
                            @if(shiro.hasPermission("/productFx/update")){
                                <#button name="修改" icon="fa-edit" clickFun="ProductFx.openProductFxDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/productFx/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="ProductFx.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/productFx/closed")){
                                <#button name="Closed" icon="fa-warning" clickFun="ProductFx.closedFx()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/productFx/open")){
                                <#button name="Open" icon="fa-check-circle" clickFun="ProductFx.openFx()" space="true"/>
                            @}
                        </div>
                        <div class="table-responsive">
                            <#table id="ProductFxTable"/>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/product/productFx/productFx.js"></script>
@}
